home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. Windows 3
/
dr win3.zip
/
dr win3
/
PROGRAMR
/
HDK100L.ZIP
/
HDKLIB.DOC
next >
Wrap
Text File
|
1993-12-09
|
14KB
|
300 lines
╔══════════════════════════════════════════════════════════════════════════╗
║ ║
║ ISoft D&M ║
║ P.O.Box 5517 ║
║ Coralville IA 52241 ║
║ U.S.A ║
║ ║
╚══════════════════════════════════════════════════════════════════════════╝
*******************************************************************************
* HDKLIB *
* HLPDK V10.0+ System Library Documentation. *
* Last Update - Dec. 09, 1993. (c) 1993, Loewy Ron. *
*******************************************************************************
HLPDK V10.0+ System Extention Library.
"Write Once, Help Many!"
*******************************************************************************
* File-List *
*******************************************************************************
This package contains the following files :
HDKLIB .DOC - This file.
HDKLIB .HDF - System extention library HDF source.
VWRLIB .HDF - System extention library component. (MM Viewer specific).
RTFLIB .HDF - System extention library component. (Common RTF extentions).
IPFLIB .HDF - System extention library component. (OS/2, needs HLPDK V11.0)
TESTLIB .HDF - A Small test for the library - Source.
TESTLIB .HLP - A Small test for the library - WINHELP format.
PRS .BMP - A Bitmap used in the test.
*******************************************************************************
* Introduction *
*******************************************************************************
HDKLIB is an extention library to HLPDK V10.0+ that adds functionality to
the HLPDK package, by including special "User Link Templates" that add support
for special links, special graphics, enhanced text attributes and more.
HDKLIB uses the HLPDK .USERLINK statement to add functionality to the HLPDK
system, and offer simple methods to create graphic links, normal text links,
256 color bitmap support, video, CDAudio, Multimedia MCI interface etc ..
WINHELP users have access to the complete macro API, using !xxx user links.
*******************************************************************************
* Warranty *
*******************************************************************************
There is no warranty what so ever, The package is supplied as is,
The distributor (ISoft D&M), or the author (Loewy Ron), are not,
and will not be responsible for any damages, lost profits,
or inconveniences caused by the use, or inability to use this package.
The use of the program is at your own risk.
By using (or attempting to use) the package you agree to this.
*******************************************************************************
* Distribution *
*******************************************************************************
HDKLIB is free to registered users of HLPDK. If you are not a HLPDK registered
user, you are allowed to evaluate HLPDK and HDKLIB for a reasonable amount of
time (Up to 1 Month).
Please consult the HLPDK.DOC and HLPDK.REG files that come with the evaluation
package of HLPDK.
*******************************************************************************
* Contact *
*******************************************************************************
Please contact :
ISoft D&M
P.O.Box 5517
Coralville IA 52241
U.S.A
E-Mail : Compuserve - 76350,333
Phone : (319) 351-8413
To contact the author directly please write to :
Loewy Ron
E-Mail : Compuserve - 100274,162
*******************************************************************************
* Setup *
*******************************************************************************
Copy the files to the directory you use to keep HLPDK V10.0+ .
Every help/hypertext/hypermedia database you use with HDKLIB should include
a line of the format :
.include [d:\path\to\hdklib-directory\]HDKLIB.HDF
and all the HDKLIB functions are available.
*******************************************************************************
* Operation *
*******************************************************************************
After you have .INCLUDEd the HDKLIB.HDF library in your HDF source, you
can use the following NEW functions and templates :
winHelp
-------
Text Attributes :
boldText - Display Text in Bold. ~Text to display~boldText~
italicText - Display Text in Italic ~Text to display~italicText~
underlineText - Display Text underlined ~Text to display~underlineText~
boldItalicText - Display Bold Italic Text ~Text to display~boldItalicText~
fontText - Display Text in font X ~Text in font 3~fontText(3)~
Links :
NormalTextLink - Link not underlined ~Click Here~NormalTextLink(linkId)~
NormalTextPopup - Popup not underlined ~Click Here~NormalTextPopup(popupId)~
graphicLink - Link connected to bitmap ~Text~graphicLink(myBmp LinkId)~
Should declare a .GRAPHIC myBmp c:\..\myfile.bmp
graphicPopup - Popup connected to bitmap ~Text~graphicPopup(myBmp PopupId)
Should declared a .GRAPHIC myBmp c:\..\myfile.bmp
Macros :
Complete WINHELP macro API reference is provided, if there is a macro such
as the About() WINHELP macro, you can rfer to it with the !about user link.
e.g. - Using the ExecProgram WINHELP macro, to start NOTEPAD.EXE in minimized
mode can be used with !execProgram(notepad.exe 2)
For the complete macro reference, please consult the WINHELP macro
documentation in the programming reference guide that came with your
development package, or the Microsoft WHAG package.
WINHELP Macros Quick Referece -
About - Displays the About dialog box
e.g. ~text~!about~
AddAccelerator - Assigns a macro to an accelerator key
e.g. ~text~!addAccelerator(0x73 7 'About()')~
Annotate - Displays Annotation dialog box
e.g. ~text~!annotate~
AppendItem - Appends a menu item
e.g. ~text~!appendItem(ID_MENU ID_ITEM &Item 'JI("","TOP")'~
Back - Displays previous topic in the history list
e.g. ~text~!back~
BookmarkDefine - Displays the Define dialog box
e.g. ~text~!bookmarkDefine~
BookmarkMore - Displays the More dialog box
e.g. ~text~!bookmarkMore~
BrowseButtons - Adds browse buttons
e.g. ~text~!browseButtons~
ChangeButtonBinding - Assigns a macro to a button
e.g. ~text~!ChangeButtonBinding(btn_contents 'JI("","NEWTOP")')~
ChangeItemBinding - Assigns a macro to a menu item
e.g. ~text~!changeItemBinding(DISP_ABOUT About())~
CheckItem - Checks a menu item
e.g. ~text~!checkItem(ID_ITEM)~
CloseWindow - Closes a window
e.g. ~text~!closeWindow(ID_WIN)~
Contents - Displays the Contents topic
e.g. ~text~!contents~
CopyDialog - Displays the Copy dialog box
e.g. ~text~!copyDialog~